<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">


    <c:if test="#{!authentificationBean.islogged}">
            <script>
                document.location.href = "#{request.contextPath}/Authentification/Authentification.jsf";
            </script>
        </c:if>
   
            <ui:composition
                            template="./WEB-INF/Templates/Template.xhtml">
                <ui:define name="content">
                    <p:outputLabel value="#{authentificationBean.islogged}" />
                </ui:define>
            </ui:composition>
      
</html>